DELETE PARTICLES

This command will delete a particles object from memory.

  Syntax
DELETE PARTICLES Particle Number
  Parameters
Particle Number
Integer
The particle object number

  Returns

This command does not return a value.

  Description

If you simply wish to hide an object, it is suggested you reposition or hide the particles object as recreating particle objects from scratch has a performance hit.

  Example Code
load image "spec.bmp",3
make particles 3, 3, 10, 10.0
position particles 3, -3, 0, 10
position camera 0,1,0
point camera 0,1,400
while mouseclick()=0
if upkey()=1 then move camera 0.1
if downkey()=1 then move camera -0.1
if leftkey()=1 then turn camera left 1
if rightkey()=1 then turn camera right 1
sync
endwhile
delete particles 3
end
  See also

PARTICLES Commands Menu
Index